Telegram Group & Telegram Channel
🕰️ JavaScript и работа с датами: пора обновиться

Класс Date в JavaScript — это наследие времён, когда сроки важнее качества. Его ошибки, ограниченность и баги знакомы каждому, кто работал с датами.

В карточках разбираем, почему Date устарел — и что предлагает взамен новый Temporal API:

➡️ История и недостатки Date, о которых вы точно слышали

➡️ Почему отсутствие таймзон — не просто неудобно, а критично

➡️ Как мутабельность и парсинг приводят к багам

➡️ И как Temporal устраняет эти проблемы фундаментально

⚡️ Скоро покажем, что именно можно делать с Temporal: от ZonedDateTime до Duration — с примерами, кейсами и новыми возможностями.

🔗 Полный текст — по ссылке

🐸 Библиотека фронтендера
Please open Telegram to view this post
VIEW IN TELEGRAM



tg-me.com/frontendproglib/6221
Create:
Last Update:

🕰️ JavaScript и работа с датами: пора обновиться

Класс Date в JavaScript — это наследие времён, когда сроки важнее качества. Его ошибки, ограниченность и баги знакомы каждому, кто работал с датами.

В карточках разбираем, почему Date устарел — и что предлагает взамен новый Temporal API:

➡️ История и недостатки Date, о которых вы точно слышали

➡️ Почему отсутствие таймзон — не просто неудобно, а критично

➡️ Как мутабельность и парсинг приводят к багам

➡️ И как Temporal устраняет эти проблемы фундаментально

⚡️ Скоро покажем, что именно можно делать с Temporal: от ZonedDateTime до Duration — с примерами, кейсами и новыми возможностями.

🔗 Полный текст — по ссылке

🐸 Библиотека фронтендера

BY Библиотека фронтендера | Frontend, JS, JavaScript, React.js, Angular.js, Vue.js








Share with your friend now:
tg-me.com/frontendproglib/6221

View MORE
Open in Telegram


Библиотека фронтендера | Frontend JS JavaScript React js Angular js Vue js Telegram | DID YOU KNOW?

Date: |

The SSE was the first modern stock exchange to open in China, with trading commencing in 1990. It has now grown to become the largest stock exchange in Asia and the third-largest in the world by market capitalization, which stood at RMB 50.6 trillion (US$7.8 trillion) as of September 2021. Stocks (both A-shares and B-shares), bonds, funds, and derivatives are traded on the exchange. The SEE has two trading boards, the Main Board and the Science and Technology Innovation Board, the latter more commonly known as the STAR Market. The Main Board mainly hosts large, well-established Chinese companies and lists both A-shares and B-shares.

Telegram Auto-Delete Messages in Any Chat

Some messages aren’t supposed to last forever. There are some Telegram groups and conversations where it’s best if messages are automatically deleted in a day or a week. Here’s how to auto-delete messages in any Telegram chat. You can enable the auto-delete feature on a per-chat basis. It works for both one-on-one conversations and group chats. Previously, you needed to use the Secret Chat feature to automatically delete messages after a set time. At the time of writing, you can choose to automatically delete messages after a day or a week. Telegram starts the timer once they are sent, not after they are read. This won’t affect the messages that were sent before enabling the feature.

Библиотека фронтендера | Frontend JS JavaScript React js Angular js Vue js from nl


Telegram Библиотека фронтендера | Frontend, JS, JavaScript, React.js, Angular.js, Vue.js
FROM USA